package com.wechat.weibo.dao;

import com.wechat.weibo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface UserDao {
    User getUser(String openid);
    int newUser(User user);
    int addNum(User fan,User main);
    int delNum(User fan,User main);
    int addWeibo(User self);
    int reInfo(User self);
    List<User> search(String username);
    int delWeibo(User self);
}
